package com.gopay.common.domain.bank.pab.ebank;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 深发展银行订单回应订单明细接口（适用与B2B、B2C）
 * 
 * @author WangHongFei
 * 
 */
public class PabOrderMessageRes extends PabMessage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String orderId;// （订单号）：商户订单号
	private BigDecimal amount;// （支付金额）：支付金额
	private String merchantDate;// （商户订单日期）：商户订单对应的商户上传的主机日期
	private String payDate;// （支付日期）：支付发生日期
	private String commitDate;// ：交易录入时间，就是交易写入表时的系统时间
	private String seqNo;// 网银支付流水号
	private String commitFlag;// 结帐标记：0=未结帐，1=结帐中，2=已结帐，3=永不结帐，5=代表等待确认

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getMerchantDate() {
		return merchantDate;
	}

	public void setMerchantDate(String merchantDate) {
		this.merchantDate = merchantDate;
	}

	public String getPayDate() {
		return payDate;
	}

	public void setPayDate(String payDate) {
		this.payDate = payDate;
	}

	public String getCommitDate() {
		return commitDate;
	}

	public void setCommitDate(String commitDate) {
		this.commitDate = commitDate;
	}

	public String getSeqNo() {
		return seqNo;
	}

	public void setSeqNo(String seqNo) {
		this.seqNo = seqNo;
	}

	public String getCommitFlag() {
		return commitFlag;
	}

	public void setCommitFlag(String commitFlag) {
		this.commitFlag = commitFlag;
	}

	public String toString() {
		StringBuffer b = new StringBuffer(this.getClass().getName() + ": \r\n");
		b.append("--orderId: " + orderId + "\r\n");
		b.append("--amount: " + amount + "\r\n");
		b.append("--merchantDate: " + merchantDate + "\r\n");
		b.append("--payDate: " + payDate + "\r\n");
		b.append("--commitDate: " + commitDate + "\r\n");
		b.append("--seqNo: " + seqNo + "\r\n");
		b.append("--commitFlag: " + commitFlag);
		return b.toString();
	}
}
